<?php
# this is file with all interface functions necessary to create register page

# this is function that will return final data for register page
function i_edit_group(){
	$html = '';

	$html .= '<div class="wrapper">';

	$html .= '<div class ="header">';
 	#	$html .= '<h1>Meet n\' Go!</h1>';        
#	$html .= '<div class="search">'.
#		'<form action="index.php?id=6" method="get"><table width="131" border="0" cellspacing="0" cellpadding="0">'.
#		'<tr>'.
#			'<td width="96"><input name="input" type="text" class="textbox" value="Search"></td>'.
#			'<td width="35">'.
#			'<input name="button" type="submit" class="search" id="button" value="">'.
#			'</td>'.
#		'</tr>'.
#		'</table>'.
#		'</form>'.
#		'</div>';
	
	$html .= '</div>';
    
	$html .= '<div class="mainPage" >';
		$html .= '<h2 style="margin-left:400px;"> Edit group</h2>';
		$html .='<p >&nbsp;</p>';
		$html .= '<table width="535" border=" " style="margin-left:250px;">'.
			'<tr>'.
				'<td width="89"><div align="left"><b>Name          </b></div></td>'.
				'<td width="208"><input type="text" name="name" id="name"></td>'.
				#'<td><input type="submit" name="edit" id="edit" value="Edit"></td>'.
				'<td><form id="form2" name="form2" method="post" action="index.php?id=11">'.
					'<input type="image" src="images/edit.jpg" name="image" style="width:20px">'.
					'</form></td>'.
				'<td>&nbsp;</td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="left"><b>Description</b></div></td>'.
				'<td><input type="text" name="name2" id="name4"></td>'.
				//'<td width="226"><label for="name4"></label></td>'.
				'<td><form id="form2" name="form2" method="post" action="index.php?id=11">'.				
					'<input type="image" src="images/edit.jpg" name="image" style="width:20px">'.
					'</form></td>'.
			'</tr>'.
			'<tr>'.
				'<td colspan="2"><table width="225" border=" ">'.
			'<tr>'.
				'<td width="145"><div align="center"><u>Group participants</u></div></td>'.
				'<td width="70">&nbsp;</td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">Mem1</div></td>'.
				'<td><input type="submit" name="delete" id="delete" value="Delete" style="width:60px;"></td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">Mem2</div></td>'.
				'<td><input type="submit" name="delete2" id="delete2" value="Delete" style="width:60px;"></td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">Mem3</div></td>'.
				'<td><input type="submit" name="delete3" id="delete3" value="Delete" style="width:60px;"></td>'.
			'</tr>'.
        '</table></td>'.
        '<td><table width="226" border=" ">'.
			'<tr>'.
				'<td width="124"><div align="center"><u>Assigned Meetings</u></div></td>'.
				'<td width="92">&nbsp;</td>'.
            '</tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 1</div></td>'.
				'<td><input type="submit" name="delete8" id="delete10" value="Remove" style="width:60px;"></td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 2</div></td>'.
				'<td><input type="submit" name="delete9" id="delete11" value="Remove" style="width:60px;"></td>'.
            '</tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 3</div></td>'.
				'<td><input type="submit" name="delete10" id="delete12" value="Remove" style="width:60px;"></td>'.
            '</tr>'.
		'</table></td>'.
		'</tr>'.
		'<tr>'.
			'<td colspan="2"><table width="294" border=" ">'.
			'<tr>'.
				'<td width="143"><div align="center"><u>Proposed Participants</u></div></td>'.
				'<td width="135">&nbsp;</td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">mem5</div></td>'.
				'<td><input type="submit" name="delete4" id="delete4" value="Accept" style="width:60px;">'.
				'<input type="submit" name="delete5" id="delete5" value="Decline" style="width:60px;"></td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">mem6</div></td>'.
				'<td><input type="submit" name="delete6" id="delete6" value="Accept" style="width:60px;">'.
				'<input type="submit" name="delete6" id="delete7" value="Decline" style="width:60px;"></td>'.
			'</tr>'.
			'<tr>'.
				'<td><div align="center">mem7</div></td>'.
				'<td><input type="submit" name="delete7" id="delete8" value="Accept" style="width:60px;">'.
				'<input type="submit" name="delete7" id="delete9" value="Decline" style="width:60px;"></td>'.
			'</tr>'.
			'</table></td>'.
			'<td><table width="225" border=" ">'.
			'<tr>'.
				'<td width="123"><div align="center"><u>Proposed Meetings</u></div></td>'.
				'<td width="86">&nbsp;</td>'.
            '</tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 6</div></td>'.
				'<td><input type="submit" name="delete12" id="delete14" value="Remove" style="width:60px;"></td>'.
           ' </tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 7</div></td>'.
				'<td><input type="submit" name="delete13" id="delete15" value="Remove" style="width:60px;"></td>'.
            '</tr>'.
			'<tr>'.
				'<td><div align="center">Meeting 8</div></td>'.
				'<td><input type="submit" name="delete14" id="delete16" value="Remove" style="width:60px;"></td>'.
            '</tr>'.
		'</table></td>'.
		'</tr>'.
		'</table>';
		$html .='<p>';
		$html .='<p >&nbsp;</p>';
		$html .='<input type="submit" name="delete11" id="delete13" value="Delete Group" style="margin-left:450px; width:90px;">';
		$html .='</p>';
		$html .='<p align="center">&nbsp;</p>';
	$html .= '</div>';

	$html .= '<div class="clear">&nbsp;</div>';	

	$html .= '</div>';

$html .= '</body>';
$html .= '</html>';


	return $html;
}
?>






	 